package com.kt.mes.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 工艺路线对象 t_process_route
 * 
 * @author lzc
 * @date 2021-01-28
 */
public class ProcessRoute extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 工艺编号 */
    @Excel(name = "工艺编号")
    private String prId;

    /** 工艺名称 */
    @Excel(name = "工艺名称")
    private String prName;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 成品编号 */
    @Excel(name = "成品编号")
    private String pId;

    private String pName;

    /** 产线编号 */
    @Excel(name = "产线编号")
    private String plId;

    private String plName;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPrId(String prId) 
    {
        this.prId = prId;
    }

    public String getPrId() 
    {
        return prId;
    }
    public void setPrName(String prName) 
    {
        this.prName = prName;
    }

    public String getpName() {
        return pName;
    }

    public void setpName(String pName) {
        this.pName = pName;
    }

    public String getPlName() {
        return plName;
    }

    public void setPlName(String plName) {
        this.plName = plName;
    }

    public String getPrName()
    {
        return prName;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setpId(String pId) 
    {
        this.pId = pId;
    }

    public String getpId() 
    {
        return pId;
    }
    public void setPlId(String plId) 
    {
        this.plId = plId;
    }

    public String getPlId() 
    {
        return plId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("prId", getPrId())
            .append("prName", getPrName())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("pId", getpId())
            .append("createBy", getCreateBy())
            .append("plId", getPlId())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
